﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WPFChat.Model;
using be.metanous.mvvm.core;

namespace WPFChat.ViewModel
{
    public class PersonViewModel:ViewModelBase
    {
        private StateViewModel _state;

        public StateViewModel State
        {
            get { return _state; }
            set
            {
                if (_state != value)
                {
                    _state = value;
                    RaisePropertyChanged(() => State);
                }
            }
        }
    }
}
